package bacaTulis;

import java.io.*;

public class Convertjuga {
	public static void main(String[] args) throws Exception{
		InputStream in = new FileInputStream("files.txt");
		InputStreamReader reader = new InputStreamReader(in);
		
		File output = new File("asal.txt");
		FileOutputStream out = new FileOutputStream(output);
		
		int data;
		while((data = reader.read()) != -1){
			out.write(Character.toUpperCase(data));
		}
		
		reader.close();
		in.close();
		
		out.close();
	}
}
